﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Utility;
using Data;


namespace DataAccess
{
    public class Tbl_AssignmentBus
    {
        LinqUtility<tbl_assignment> context = new LinqUtility<tbl_assignment>();

        public List<tbl_assignment> getListAssignment()
        {
            return context.GetAll();
        }

        public void insertAssignment(tbl_assignment ta)
        {
            context.Insert(ta);
        }

        public void updateAssignment(tbl_assignment ta)
        {
            context.Update(ta);
        }

        public void delete(tbl_assignment ta)
        {
            context.Delete(ta);
        }

    }
    
}
